package com.changan.mapper;

import com.changan.entity.Student;

import java.util.List;

/**
 * @program: StuManagement
 * @description: StudentMapper的接口文件
 * @author: Mr.Nie
 * @create: 2021-12-18 13:53
 **/
public interface StudentMapper {

    List<Student> getStudents();

    int addStudent(Student student);

    int delStu(Long id);

    int updStu(Student student);

    Student getStudentById(Long id);
}
